package com.Poly01;

public class Student extends Person{
    private double socre;
    public Student(String name, int age, double socre) {
        super(name, age);
        this.socre = socre;
    }
    public void setSocre(double socre) {
        this.socre = socre;
    }
    public double getSocre() {
        return socre;
    }
    public String say(){
        return super.say() + " score= " + socre;
    }
    public String Study(){
        return super.say()+" 正在学习javaEE";
    }
}
